package com.cpedia.android.deal.activity;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;
import com.cpedia.android.deal.R;

/**
 * User: pchen
 * Date: Jun 5, 2009
 */
public class CouponList extends Activity {

    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);

        setContentView(R.layout.deallist);

        final String mimeType = "text/html";
        final String encoding = "utf-8";

        WebView wv;

        wv = (WebView) findViewById(R.id.wv1);
        wv.loadData("<a href='x'>Hello World! - 1</a>", mimeType, encoding);

        wv = (WebView) findViewById(R.id.wv2);
        wv.loadData("<a href='x'>Hello World! - 2</a>", mimeType, encoding);

        wv = (WebView) findViewById(R.id.wv3);
        wv.loadData("<a href='x'>Hello World! - 3</a>", mimeType, encoding);

        wv = (WebView) findViewById(R.id.wv4);
        wv.loadData("<a href='x'>Hello World! - 4</a>", mimeType, encoding);

        wv = (WebView) findViewById(R.id.wv5);
        wv.loadData("<a href='x'>Hello World! - 5</a>", mimeType, encoding);

        wv = (WebView) findViewById(R.id.wv6);
        wv.loadData("<a href='x'>Hello World! - 6</a>", mimeType, encoding);

        wv = (WebView) findViewById(R.id.wv7);
        wv.loadData("<a href='x'>Hello World! - 7</a>", mimeType, encoding);

        wv = (WebView) findViewById(R.id.wv8);
        wv.loadData("<a href='x'>Hello World! - 8</a>", mimeType, encoding);

        wv = (WebView) findViewById(R.id.wv9);
        wv.loadData("<a href='x'>Hello World! - 9</a>", mimeType, encoding);

        wv = (WebView) findViewById(R.id.wv10);
        wv.loadData("<a href='x'>Hello World! - 10</a>", mimeType, encoding);
    }
}